using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using EnvDTE;

namespace HQLAddin.Tests.Configuration.Util
{
	public class PropertiesList : List<Property>, Properties
	{
		public Property Item(object index)
		{
			return this.First(p => p.Name == index.ToString());
		}

		IEnumerator Properties.GetEnumerator()
		{
			return this.GetEnumerator();
		}

		public object Application
		{
			get { return new object(); }
		}

		public object Parent
		{
			get { return new object(); }
		}

		public DTE DTE
		{
			get { throw new NotImplementedException(); }
		}
	}
}